package com.wan.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

public class BasicAudit implements Serializable {
    private Long id;

    private String name;

    private Long code;

    private Long departmentId;

    private Byte useSimplepwd;

    private Byte noupdatePwd;

    private Byte longNologin;

    private String result;

    private Date updatePwd;

    private Date endLogin;

    private Long createdBy;

    private String creator;

    private Date createTime;

    private Long updatedBy;

    private String modifier;

    private Date updateTime;

    private Byte status;

    private Long version;

    private static final long serialVersionUID = 1L;

    public BasicAudit(Long id, String name, Long code, Long departmentId, Byte useSimplepwd, Byte noupdatePwd, Byte longNologin, String result, Date updatePwd, Date endLogin, Long createdBy, String creator, Date createTime, Long updatedBy, String modifier, Date updateTime, Byte status, Long version) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.departmentId = departmentId;
        this.useSimplepwd = useSimplepwd;
        this.noupdatePwd = noupdatePwd;
        this.longNologin = longNologin;
        this.result = result;
        this.updatePwd = updatePwd;
        this.endLogin = endLogin;
        this.createdBy = createdBy;
        this.creator = creator;
        this.createTime = createTime;
        this.updatedBy = updatedBy;
        this.modifier = modifier;
        this.updateTime = updateTime;
        this.status = status;
        this.version = version;
    }

    public BasicAudit() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public Byte getUseSimplepwd() {
        return useSimplepwd;
    }

    public void setUseSimplepwd(Byte useSimplepwd) {
        this.useSimplepwd = useSimplepwd;
    }

    public Byte getNoupdatePwd() {
        return noupdatePwd;
    }

    public void setNoupdatePwd(Byte noupdatePwd) {
        this.noupdatePwd = noupdatePwd;
    }

    public Byte getLongNologin() {
        return longNologin;
    }

    public void setLongNologin(Byte longNologin) {
        this.longNologin = longNologin;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result == null ? null : result.trim();
    }

    public Date getUpdatePwd() {
        return updatePwd;
    }

    public void setUpdatePwd(Date updatePwd) {
        this.updatePwd = updatePwd;
    }

    public Date getEndLogin() {
        return endLogin;
    }

    public void setEndLogin(Date endLogin) {
        this.endLogin = endLogin;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Long updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", departmentId=").append(departmentId);
        sb.append(", useSimplepwd=").append(useSimplepwd);
        sb.append(", noupdatePwd=").append(noupdatePwd);
        sb.append(", longNologin=").append(longNologin);
        sb.append(", result=").append(result);
        sb.append(", updatePwd=").append(updatePwd);
        sb.append(", endLogin=").append(endLogin);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", creator=").append(creator);
        sb.append(", createTime=").append(createTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", modifier=").append(modifier);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", status=").append(status);
        sb.append(", version=").append(version);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}